package com.hpf.springcloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @datetime: 2020/10/30 21:30
 * @author: huangpengfei
 */
@RestController
public class PaymentController {

    @Value("${config.info}")
    private String nacosInfo;

    @GetMapping("/getInfo")
    public String getInfo(){
        return nacosInfo;
    }
}
